package com.battle.pojo.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import com.fasterxml.jackson.annotation.JsonValue;
import lombok.AllArgsConstructor;
import lombok.Getter;
import nirvana.core.domains.enums.Enums;

/**
 * 题目难易程度：0易，1偏易，2适中，3偏难，4难
 * @author anni.zhu
 * @author anni.zhu@king-v.com
 * Created in 2025/2/19 15:45
 */
@Getter
@AllArgsConstructor
public enum QuestionBankComplexityEnum implements Enums<QuestionBankComplexityEnum> {
    easy(0,"易"),
    easier(1,"偏易"),
    moderate(2,"适中"),
    harder(3,"偏难"),
    hard(4,"难"),
    ;
    @JsonValue
    @EnumValue
    private Integer id;
    private String name;
}
